package com.cloudbroker.bcs.platform.ltb.middle.dao;

import com.cloudbroker.bcs.common.dao.base.DAOBase;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.BlackKeyWordForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.BlackWordForm;
import com.cloudbroker.bcs.platform.ltb.middle.entity.BlackWord;
import com.cloudbroker.bcs.platform.ltb.middle.entity.UserEntity;

import java.util.List;

/**
 * Created by lili19289 on 2016/7/20.
 */
public interface BlackWordDAO extends DAOBase<BlackWord, String> {


    public void save(BlackWord word);

    public List<BlackWord> queryBlackWords(BlackKeyWordForm form);

    public BlackWord queryByContent(BlackWord word);

    public List<String> queryWords();

    public List<BlackWord> queryWordsByCompany(String companyId);

    public void delete(BlackWord word);

    public List<BlackWord> fetchAllBlackWords(BlackKeyWordForm form);


}
